package com.da.springtest.ioc.primary;

/**
 * @author chenlida
 * @date 2020/6/15 10:37
 * @description
 */
public class PrimaryBean {
    public interface IService {}

    public static class ServiceA implements IService {}

    public static class ServiceB implements IService {}

    private IService service;

    public void setService(IService service) {
        this.service = service;
    }

    @Override
    public String toString() {
        return "PrimaryBean{" +
            "service=" + service +
            '}';
    }
}
